package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题库数据对象 question_bank
 * 
 * @author ruoyi
 * @date 2022-10-07
 */
public class QuestionBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 题目ID */
    private Long seqId;

    /** 科目 英语 数学 */
    @Excel(name = "科目 英语 数学")
    private String subjects;

    /** 难度 困难 中等 容易 */
    @Excel(name = "难度 困难 中等 容易")
    private String level;

    /** 类型 选择题 问答题 填空题 */
    @Excel(name = "类型 选择题 问答题 填空题")
    private String type;

    /** 问题章节（考察知识点）  */
    @Excel(name = "问题章节", readConverterExp = "考=察知识点")
    private String chapter;

    /** 问题内容 */
    @Excel(name = "问题内容")
    private String question;

    /** 选择题答案 json */
    @Excel(name = "选择题答案 json")
    private String chooseAnswe;

    /** 正确答案 */
    @Excel(name = "正确答案")
    private String answer;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setSeqId(Long seqId) 
    {
        this.seqId = seqId;
    }

    public Long getSeqId() 
    {
        return seqId;
    }
    public void setSubjects(String subjects) 
    {
        this.subjects = subjects;
    }

    public String getSubjects() 
    {
        return subjects;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setChapter(String chapter) 
    {
        this.chapter = chapter;
    }

    public String getChapter() 
    {
        return chapter;
    }
    public void setQuestion(String question) 
    {
        this.question = question;
    }

    public String getQuestion() 
    {
        return question;
    }
    public void setChooseAnswe(String chooseAnswe) 
    {
        this.chooseAnswe = chooseAnswe;
    }

    public String getChooseAnswe() 
    {
        return chooseAnswe;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("seqId", getSeqId())
            .append("subjects", getSubjects())
            .append("level", getLevel())
            .append("type", getType())
            .append("chapter", getChapter())
            .append("question", getQuestion())
            .append("chooseAnswe", getChooseAnswe())
            .append("answer", getAnswer())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
